:root {
  --bg-color: #FFFDF5; /* A very pale yellow */
  --text-color: #5D4037; /* A dark brown for text */
  --text-primary: #2c3e50; /* Primary text color */
  --text-secondary: #6c757d; /* Secondary text color */
  --primary-color: #FDD835; /* A brighter yellow for accents */
  --primary-hover: #f9a825; /* Primary hover color */
  --secondary-color: #FFEE58; /* A lighter yellow for highlights/hovers */
  --secondary-hover: #fbc02d; /* Secondary hover color */
  --border-color: #EAEAEA;
  --panel-bg-color: #FFFFFF;
  --input-bg-color: #f8f9fa; /* Input background color */
  --danger-color: #dc3545; /* Danger color for delete/clear actions */

  font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color: var(--text-color);
  background-color: var(--bg-color);

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0;
  overflow-y: auto;
}

#app {
  width: 100%;
  min-height: 100vh;
  padding: 1.5rem;
}

/* General form element styling */
textarea, select {
  width: 100%;
  padding: 0.8em 1em;
  font-size: 1em;
  font-family: inherit;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background-color: var(--panel-bg-color);
  color: var(--text-color);
  transition: border-color 0.25s, box-shadow 0.25s;
}

textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(253, 216, 53, 0.4);
}

button {
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.8em 1.5em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: var(--primary-color);
  color: var(--text-color);
  cursor: pointer;
  transition: background-color 0.25s;
}

button:hover {
  background-color: var(--secondary-color);
}
